package com.itheima.ai;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@MapperScan("com.itheima.ai.mapper")
@SpringBootApplication
@Slf4j
public class HeimaAiApplication {

    public static void main(String[] args) {
        SpringApplication.run(HeimaAiApplication.class, args);
        log.info("AI服务启动成功 http://127.0.0.1:8080/ai/service?prompt=我想了解人工智能课程&chatId=110");
    }

}
